From: Adrian Robert Date: Sun, 27 Sep 2009 16:06:33 +0000 (+0000) Subject: Default light-background background for region face to ns_selection_color under NS. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10271 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=44e4fc3d7147aa873069a0e8eb3a08338059403c;p=emacs.git Default light-background background for region face to ns_selection_color under NS. --- diff --git a/lisp/faces.el b/lisp/faces.el index cfb6a8b2961..4d0e1211ada 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -2278,9 +2278,14 @@ terminal type to a different value." "Basic face for highlighting." :group 'basic-faces) +;; Region face: under NS, default to the system-defined selection +;; color (optimized for the fixed white background of other apps), +;; if background is light. (defface region '((((class color) (min-colors 88) (background dark)) :background "blue3") + (((class color) (min-colors 88) (background light) (type ns)) + :background "ns_selection_color") (((class color) (min-colors 88) (background light)) :background "lightgoldenrod2") (((class color) (min-colors 16) (background dark))